import request from "@/utils/request";

// 获取帖子评论列表
export function getPostCommentListApi(params: any, postId: any) {
  return request({
    url: "/comment/get_post_comment_list",
    method: "get",
    params: {
      page: params.page,
      size: params.size,
      postId: postId,
    },
  });
}

// 获取游戏评论列表
export function getGameCommentListApi(params: any, gameId: any) {
  return request({
    url: "/game_user_review/get_game_user_review_by_game_id",
    method: "get",
    params: {
      page: params.page,
      size: params.size,
      gameId: gameId,
    },
  });
}
